package com.taru.university.mapper;

import com.taru.university.model.Disease;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;


import java.util.List;

@Mapper
@Component("diseaseMapper")
public interface DiseaseMapper {

    List<Disease> queryDisease(String diseaseSort);

    Disease queryDiseaseById(String diseaseId);

    void insertDisease(Disease disease);

    void deleteDisease(String diseaseId);

    List<Disease> queryDiseaseByTitle(String diseaseTitle);

    List<Disease> queryDiseaseByStatue();
}
